<template>
  <div id="pie" class="w-1/2 h-full"></div>
</template>

<script setup lang="ts">
import { pieChartOption } from '../../disposition'
const echarts =
  getCurrentInstance()!.appContext.config.globalProperties.$echarts

onMounted(() => {
  const pie = document.getElementById('pie')

  echarts.init(pie).setOption(pieChartOption)
})
</script>

<style lang="scss" scoped></style>
